package com.xxx.demo.data.command;

import com.github.butid.data.base.BaseCommand;
import com.github.butid.data.codec.RequestBody;
import com.github.butid.data.codec.ResultBody;
import com.github.butid.data.netty.annotation.CommandController;
import lombok.extern.slf4j.Slf4j;

/**
 * @author wangjing.dc@qq.com
 * @since 2020/8/10
 */
@Slf4j
@CommandController(cmdType = "ReadDir", cmdCode = "60010")
public class CmdcodeDemoCommand extends BaseCommand {

    @Override
    public ResultBody exec(RequestBody messageBean) {
        log.info("收到消息,cmdType=ReadDir,cmdCode=60010,--> {}", messageBean);


        return null;
    }
}
